package com.pad.dpscn.daag.sdk.core.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
 * 
 * com.pad.dpscn.daag.sdk.core.properties  
 *  
 * <p>  
 * Description: dagg配置属性类
 * </p>  
 *  
 * @author ASUS  
 * @since 2024年3月11日  
 * @version 1.0
 */
@ConfigurationProperties(prefix = DaagProperties.DAGG_PROFIEX)
public class DaagProperties {

	public static final String DAGG_PROFIEX = "daag";

	public static final String DAGG_DATA_INTERCEPTOR_PROFIEX = "daag.data-interceptor";
	
	@Value("${daag.topicName:daag-default-topic}")
	private String topicName;
	
	@Value("${spring.application.name:default-application}")
    private String serviceName;
	
	@Value("${daag.dbType:oracle}")
	private String dbType;

	public String getTopicName() {
		return topicName;
	}

	public void setTopicName(String topicName) {
		this.topicName = topicName;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getDbType() {
		return dbType;
	}

	public void setDbType(String dbType) {
		this.dbType = dbType;
	}

}
